import service from "@/utils/request"

import LoginWork from "@/utils/LoginWork"

// 查询
export const VendorQuery = (parms:any) => {
    return service.post<any,any>(`/SdPosition/SdVendorList`,parms)
}

// 厂商分类
export const VendorClassification = () => {
    return service.get<any,any>(`/material/mtl/property/sdCustTypeAVen?choose=${2}`)
}

// 删除
export const deleteRow = (parms:any) => {
    return LoginWork.put<any,any>(`/SdPosition/SdVendorDel`,parms)
}

// 增加
export const increase = (parms:any) => {
    return LoginWork.post<any,any>(`/SdPosition/SdVendorAdd`,parms)
}